package Controlor;

import Presentation.PSabot;
import solitaire.application.Sabot;


public class CSabot extends Sabot{

	private PSabot presentation;
	private CTasDeCartes cachees,visibles;
	private int levelDuJeu; //level = 1 or 2 ;
	
	public CSabot(String nom, CUsine cu) {
		super(nom, cu);
		presentation = new PSabot(this, cachees.getPresentation(),visibles.getPresentation());
	}
	
	public void retournerCarte()throws Exception {
		super.retournerCarte();
		if(cachees.isVide()){
			
		}
	}
	
	public void retournerTas() throws Exception {
		
	}
	
	public void depiler() throws Exception {
		
	}
	
	public void setLevelDuJeu(int level){
		levelDuJeu = level;
	}
	
	public int getLevelDuJeu(){
		return levelDuJeu;
	}

	public PSabot getPresentation() {
		return presentation;
	}

	public void setPresentation(PSabot presentation) {
		this.presentation = presentation;
	}

	public CTasDeCartes getCachees() {
		return cachees;
	}

	public void setCachees(CTasDeCartes cachees) {
		this.cachees = cachees;
	}

	public CTasDeCartes getVisibles() {
		return visibles;
	}

	public void setVisibles(CTasDeCartes visibles) {
		this.visibles = visibles;
	}

}
